#ifndef ACCESS_SERVICE_H
#define ACCESS_SERVICE_H

#include "tcp_common.h"
#include "vld.h"

extern "C"
{
#ifdef ACCESS_SERVICE_EXPORTS
#define ACCESS_API extern "C" __declspec(dllexport)
#else
#define ACCESS_API extern "C" __declspec(dllimport)
#endif
};

ACCESS_API long __stdcall AS_Init();
ACCESS_API void __stdcall AS_CleanUp();
ACCESS_API long __stdcall AS_StartService(int nUsePort, cmtd::fMessageCallback fMsgCB, void * pUserData);
ACCESS_API long __stdcall AS_StopService();
ACCESS_API long __stdcall AS_Push(cmtd::PUSH_PARAMETER_PTR pPushParam);
ACCESS_API long __stdcall AS_SetMessageCallBack(cmtd::fMessageCallback fMsgCB, void * pUserData);


#endif




